package com.tgy.crud.service;

import com.tgy.crud.domain.Person;

import java.util.List;

public interface CrudService {

    List<Person> findAllPersons();

    Person findPersonById(Integer id);

    boolean insertPerson(Person person);

    boolean updatePerson(Person person);

    boolean deletePerson(Integer id);
}
